#version 410

layout (triangles) in;
layout (line_strip, max_vertices = 6) out;

void makeLine(int indexFirst, int indexSecond)
{
    gl_Position = gl_in[indexFirst].gl_Position;
    EmitVertex();
    gl_Position = gl_in[indexSecond].gl_Position;
    EmitVertex();
    EndPrimitive();
}

void main()
{
	makeLine(0, 1);
} 